///////////////////////////////////////////////////////////////////
// Demo 2 - Customizing Work Item Types

// SecureTask.xml - add field

<FIELD name="Security" refname="Sample.Security" type="String">
  <HELPTEXT>The security classification of this task</HELPTEXT>
</FIELD>

// SecureTask.xml - add to the UI (beneath the Iteration control in FORM block)

<Control Type="FieldControl" FieldName="Sample.Security"
Label="Security Classification" LabelPosition="Left" />

// GlobalLists.xml - replace with this

<GLOBALLISTS>
  <GLOBALLIST name="SecurityClassifications">
    <LISTITEM value="Unclassified"/>
    <LISTITEM value="Confidential"/>
    <LISTITEM value="Secret"/>
    <LISTITEM value="Top Secret"/>
  </GLOBALLIST>
</GLOBALLISTS>

// SecureTask.xml - update field, adding ALLOWEDVALUES

<FIELD name="Security" refname="Sample.Security" type="String">
  <HELPTEXT>The security classification of this task</HELPTEXT>
  <ALLOWEDVALUES expanditems="true" filteritems="excludegroups">
    <GLOBALLIST name="SecurityClassifications"/>
  </ALLOWEDVALUES>
</FIELD>




